package com.wangyadong.hobby.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.stream.Collectors;

@RestController
public class EamController {
    @RequestMapping("api/v4/eam/register/diag/status")
    public Object getEamStation(List<Long> ids) {
        return ids.stream().filter(i -> {
            return i % 2 == 0;
        }).collect(Collectors.toList());
    }

}
